import React from 'react';
import { Divider } from 'antd';

import Old from './Old';
import CreateContextDemo from './createContext';
import Advanced from './advanced';

// context 上下文
export default function ContextComp() {
  return (
    <div className="context">
      <p>ContextComp</p>
      <Old />
      <Divider />
      <CreateContextDemo />
      <Divider />
      <Advanced />
      <Divider />
    </div>
  );
}
